home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / debug / HRTmon.lha / HRTmon.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-07-17  |  501 b   |  36 lines

  1.  
  2. /*
  3.  
  4.   Filename:    HRTmon.c
  5.   Author:      Alain Malek
  6.   Description: Load and install HRTmon quietly
  7.                (use config saved by HRTmonPrefs)
  8.  
  9.   Usage:       HRTmon -r      (-r to only remove HRTmon)
  10.  
  11. */
  12.  
  13.  
  14. #include "HRTmonLoad.h"
  15.  
  16. int ShowReq(char *text,char*choice)
  17. {
  18.     printf("%s\n",text);
  19. }
  20.  
  21. void main(int argc, char **argv)
  22. {
  23.  
  24.     LoadInit();
  25.  
  26.     if ( RemHRTmon() )
  27.         printf("HRTmon located and removed\n");
  28.  
  29.     if (argc != 2 || stricmp(argv[1],"-r"))
  30.         Load(config.path);
  31.  
  32.     exit (0);
  33.  
  34. }
  35.  
  36.